
class BaseEntity<T>{
  dynamic? code;
  dynamic?  userTip;
  dynamic? data;

  // String? msg;
  // dynamic? more;
  // dynamic?  total;
  //
  dynamic?  errorCode;
  dynamic?  errorMessage;
  dynamic?  totalElements;

  @override
  String toString() {
    return 'BaseEntity{code: $code, errorCode: $errorCode, errorMessage: $errorMessage, userTip: $userTip, totalElements: $totalElements, data: $data}';
  }

  BaseEntity(this.code, this.userTip, this.data,{ this.errorCode, this.errorMessage,
    this.totalElements});
}